<!-- code for uploading used in front-end -->
<!DOCTYPE html>
<html lang="en">
<head>

	<!--those are necessary for Uploadify-->
	<link rel="stylesheet" type="text/css" href="/static/uploadify/uploadify.css">
	<script type="text/javascript" src="/static/js/jquery-3.1.1.min.js"></script>
	<script type="text/javascript" src="/static/uploadify/jquery.uploadify.min.js"></script>
	<!--those are necessary for Uploadify-->
	
</head>
<body>
	<!--basic form for uploading-->
	<form method='post' action='/upload/' enctype="multipart/form-data" accept-charset="utf-8">
		{% csrf_token %}
		<input type='file' multiple='multiple' name='Filedata' />
		<input type='submit' value='上传' />
	</form>

	<!--Uploadify-->
	<input id="file_upload" type="file" name="Filedata" /> 

	<!--this is also needed for Uploadify-->
	<script type="text/javascript" src="/static/uploadify/uploadify.js"></script>
	<!--this is also needed for Uploadify-->
</body>
</html>